Carbon


DrawThemeGenericWell

Header: Appearance.h Carbon status: Supported

Draws an image well frame.

OSStatus DrawThemeGenericWell (
    const Rect *inRect, 
    ThemeDrawState inState, 
    Boolean inFillCenter
);
inRect

A pointer to a structure of type Rect. Before calling DrawThemeGenericWell, set the rectangle to the position around which to draw the image well frame, in local coordinates.

inState

A value of type ThemeDrawState. Pass a constant specifying the state in which to draw the image well frame; see “Theme Draw State Constants”. The well can be drawn as active or inactive; passing kThemeStatePressed produces an error.

inFillCenter

A value of type Boolean. Set to true to fill the image well frame with white; otherwise, false.

function result

A result code.

DISCUSSION

The DrawThemeGenericWell function draws a theme-compliant image well frame. You can specify that the center of the well be filled in with white.

VERSION NOTES

This function is available with Appearance Manager 1.0.1 and later.

AVAILABILITY

Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)